package com.bjqh.edu.Bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */

public class Room {

    /**
     * data : [{"total":null,"sex":null,"weight":null,"cardimg":null,"cardnum":null,"nickname":"11","passWord":null,"header":null,"rows":null,"course":null,"id":6,"time":1507710753000,"school":"清华大学","invitecode":"fy4yap","rid":17101789546417,"page":null,"age":null,"name":"马林","role":1,"gradeid":null,"teacher":null,"mobile":null}]
     * status : 200
     */
    private int status;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * total : null
         * sex : null
         * weight : null
         * cardimg : null
         * cardnum : null
         * nickname : 11
         * passWord : null
         * header : null
         * rows : null
         * course : null
         * id : 6
         * time : 1507710753000
         * school : 清华大学
         * invitecode : fy4yap
         * rid : 17101789546417
         * page : null
         * age : null
         * name : 马林
         * role : 1
         * gradeid : null
         * teacher : null
         * mobile : null
         */

        private String total;
        private String sex;
        private String weight;
        private String cardimg;
        private String cardnum;
        private String nickname;
        private String passWord;
        private String header;
        private String rows;
        private String course;
        private int id;
        private long time;
        private String school;
        private String invitecode;
        private long rid;
        private String page;
        private String age;
        private String name;
        private int role;
        private String gradeid;
        private String teacher;
        private String mobile;

        public String getRname() {
            return rname;
        }

        public void setRname(String rname) {
            this.rname = rname;
        }

        private String rname;

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getCardimg() {
            return cardimg;
        }

        public void setCardimg(String cardimg) {
            this.cardimg = cardimg;
        }

        public String getCardnum() {
            return cardnum;
        }

        public void setCardnum(String cardnum) {
            this.cardnum = cardnum;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getPassWord() {
            return passWord;
        }

        public void setPassWord(String passWord) {
            this.passWord = passWord;
        }

        public String getHeader() {
            return header;
        }

        public void setHeader(String header) {
            this.header = header;
        }

        public String getRows() {
            return rows;
        }

        public void setRows(String rows) {
            this.rows = rows;
        }

        public String getCourse() {
            return course;
        }

        public void setCourse(String course) {
            this.course = course;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getSchool() {
            return school;
        }

        public void setSchool(String school) {
            this.school = school;
        }

        public String getInvitecode() {
            return invitecode;
        }

        public void setInvitecode(String invitecode) {
            this.invitecode = invitecode;
        }

        public long getRid() {
            return rid;
        }

        public void setRid(long rid) {
            this.rid = rid;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getRole() {
            return role;
        }

        public void setRole(int role) {
            this.role = role;
        }

        public String getGradeid() {
            return gradeid;
        }

        public void setGradeid(String gradeid) {
            this.gradeid = gradeid;
        }

        public String getTeacher() {
            return teacher;
        }

        public void setTeacher(String teacher) {
            this.teacher = teacher;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.total);
            dest.writeString(this.sex);
            dest.writeString(this.weight);
            dest.writeString(this.cardimg);
            dest.writeString(this.cardnum);
            dest.writeString(this.nickname);
            dest.writeString(this.passWord);
            dest.writeString(this.header);
            dest.writeString(this.rows);
            dest.writeString(this.course);
            dest.writeInt(this.id);
            dest.writeLong(this.time);
            dest.writeString(this.school);
            dest.writeString(this.invitecode);
            dest.writeLong(this.rid);
            dest.writeString(this.page);
            dest.writeString(this.age);
            dest.writeString(this.name);
            dest.writeInt(this.role);
            dest.writeString(this.gradeid);
            dest.writeString(this.teacher);
            dest.writeString(this.mobile);
            dest.writeString(this.rname);
        }

        public DataBean() {
        }

        protected DataBean(Parcel in) {
            this.total = in.readString();
            this.sex = in.readString();
            this.weight = in.readString();
            this.cardimg = in.readString();
            this.cardnum = in.readString();
            this.nickname = in.readString();
            this.passWord = in.readString();
            this.header = in.readString();
            this.rows = in.readString();
            this.course = in.readString();
            this.id = in.readInt();
            this.time = in.readLong();
            this.school = in.readString();
            this.invitecode = in.readString();
            this.rid = in.readLong();
            this.page = in.readString();
            this.age = in.readString();
            this.name = in.readString();
            this.role = in.readInt();
            this.gradeid = in.readString();
            this.teacher = in.readString();
            this.mobile = in.readString();
            this.rname = in.readString();
        }

        public static final Parcelable.Creator<DataBean> CREATOR = new Parcelable.Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel source) {
                return new DataBean(source);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };
    }
}
